From: Aaron Schulz Date: Tue, 16 Jul 2019 04:06:42 +0000 (-0700) Subject: filerepo: make ForeignApiRepo::httpGetCached() use "pcGroup" X-Git-Tag: 1.34.0-rc.0~909^2 X-Git-Url: http://git.cyclocoop.org/%22%22._DIR_PLUGIN_FULLCALENDAR.%22prive/themes/spip/images/event_edit.png/%5B%27/%29%20AND%20%24p1%3C%24p%29%20%24p%20=%20%24p1;%20%24flux%20=%20substr_replace%28%24flux%2Cpipeline%28?a=commitdiff_plain;h=99d4dbc0fa043ad3c19421d527581a1cad6a1413;p=lhc%2Fweb%2Fwiklou.git filerepo: make ForeignApiRepo::httpGetCached() use "pcGroup" Given the item size, it is best to keep the cache limit small Change-Id: Icf57a5e54046d4909535f772f1556452ccb122df --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 8ff8143c2b..314c4c30f0 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -580,7 +580,7 @@ class ForeignAPIRepo extends FileRepo { return $html; }, - [ 'pcTTL' => WANObjectCache::TTL_PROC_LONG ] + [ 'pcGroup' => 'http-get:3', 'pcTTL' => WANObjectCache::TTL_PROC_LONG ] ); }